xl: add support for vif rate limiting
authorMathieu Gagne <mgagne@iweb.com>
Tue, 24 Apr 2012 16:09:22 +0000 (17:09 +0100)
committerMathieu Gagne <mgagne@iweb.com>
Tue, 24 Apr 2012 16:09:22 +0000 (17:09 +0100)
commitdeaed905dac4f87a08d35c0358fcf7657d817ad5
tree0df710361097354badd55ea1e9e650475e5ea390
parent9684ac597a610155a19a7a33038cb874b4d8de23
xl: add support for vif rate limiting

The `rate` keyword specifies the rate at which the outgoing traffic
will be limited to. The default if this keyword is not specified
is unlimited.

The `rate` keyword supports an optional replenishment interval
parameter for specifying the granularity of credit replenishment.
It determines the frequency at which the vif transmission credit
is replenished. The default interval is 50ms.

For example:

        'rate=10Mb/s'
        'rate=250KB/s'
        'rate=1MB/s@20ms'

Signed-off-by: Mathieu Gagne <mgagne@iweb.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/misc/xl-network-configuration.markdown
tools/libxl/Makefile
tools/libxl/libxl.c
tools/libxl/libxl_types.idl
tools/libxl/libxlu_internal.h
tools/libxl/libxlu_vif.c [new file with mode: 0644]
tools/libxl/libxlutil.h
tools/libxl/xl_cmdimpl.c